@charset "utf-8";
@import './modules/reset';
@import './modules/header';
@import './modules/footer';

// 头部下面的副导航
.subnav{
    height: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ececec;
    line-height: 40px;
}

// 头部下面的内容
.clear::after{
    display: block;
    content: "";
    clear: both;
}

// 左边手风琴
.s-side {
    width: 250px;
    font-size: 14px;
    color: #424242;
    border: 1px solid #e2e2e2;
    min-height: 400px;
    padding: 0 15px;
    box-sizing: border-box;
    ul{
        margin-top: 0;
        padding-left: 0;
        li{
            line-height: 40px;
            width: 100%;
            border-bottom: 1px solid #e2e2e2;
            a{
                color: #424242;
            }
            div{
                i.iconxia{
                    float: right; 
                }
            }
            .s-firstDrop {
                li {
                    line-height: 33px;
                    border-bottom: 1px solid #e2e2e2;
                    padding-left: 25px;
                    box-sizing: border-box;
                }
            }
        }
    }
}

// 右边列表页
.list{
    width: 800px;
    .title{
        padding-left: 10px;
        border-left: 4px solid #5F91DC;
        font-size: 20px;
        margin-bottom: 20px;
        height: 35px;
        span{
            font-size: 13px;
            line-height: 28px;
        }
    } 
    .content{
        ul {
            height: 360px;
            li {
                float: left;
                text-align: center;
                width: 250px;
                height: 300px;
                .pic {
                    text-align: center;
                    width: 250px;
                    height: 300px;
                    // position: relative;
                    article{
                        width: 200px;
                        height: 200px;
                        margin: 0 auto;
                        // display: block;
                        position: relative;
                        .mask{
                            position: absolute;
                            width: 200px;
                            height: 200px;
                            top: 0;
                            left: 0;
                            background: rgba(255,255,255,.7);
                            display: none;
                            div{
                                width: 100px;
                                height: 100px;
                                position: relative;
                                left: 25%;
                                top: 25%;
                                font-size: 12px;
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                a{
                                    section{
                                        width: 45px;
                                        height: 70px;
                                        // position: relative;
                                        i{
                                            width: 45px;
                                            height: 45px;
                                            display: block;
                                            border: 1px solid #5F91DC;
                                            display: flex;
                                            justify-content: center;
                                            align-items: center;
                                            color: #5f91dc;
                                            box-sizing: border-box;
                                            margin-bottom: 6px;
                                        }
                                        .iconfaxian{
                                            font-size: 16px;
                                           
                                        }
                                        .iconcar{
                                            font-size: 22px;
                                        }
                                    }
                                }
                                .searchDiv:hover{
                                    .iconfaxian{
                                        background: #5F91DC;
                                        color: #fff;
                                        font-size: 16px;
                                    }
                                    &::after{
                                        display: block;
                                        position: relative;
                                        bottom: 0;
                                        left: 0;
                                        content: "查看物品";
                                        font-size: 12px;
                                        color: #424242;
                                    }
                                }
                                .carDiv:hover{
                                    .iconcar{
                                        background: #5F91DC;
                                        color: #fff;
                                        font-size: 22px;
                                    }
                                    &::after{
                                        display: block;
                                        position: relative;
                                        bottom: 0;
                                        left: 0;
                                        content: "加入购物车";
                                        font-size: 12px;
                                        color: #424242;
                                    }
                                }
                            }
                        }
                    }
                    h2{
                        font-size: 14px;
                        line-height: 25px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        width: 200px;
                        margin: 0 auto;
                    }
                    h3{
                        font-size: 14px;
                        line-height: 25px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        width: 200px;
                        margin: 0 auto;
                    }
                    p{
                        color: #5f91dc;
                        font-weight: 550;
                        margin-bottom: 10px;
                        del{
                            color: grey;
                            font-weight: 400;
                        }
                    }
                    img {
                        width: 200px;
                        height: 200px;
                        display: block;
                    }
                }
                
            }
        }
    }
}